From: Andrea Corallo Date: Tue, 30 Apr 2024 07:19:31 +0000 (+0200) Subject: * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix type declaration. X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~14^2~18^2~1681^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1087d55d2710f610edc5195175e2260aebaa4589;p=emacs.git * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix type declaration. --- diff --git a/lisp/emacs-lisp/regexp-opt.el b/lisp/emacs-lisp/regexp-opt.el index 076232bc613..f23343a34c6 100644 --- a/lisp/emacs-lisp/regexp-opt.el +++ b/lisp/emacs-lisp/regexp-opt.el @@ -130,7 +130,7 @@ usually more efficient than that of a simplified version: (concat (car parens) (mapconcat \\='regexp-quote strings \"\\\\|\") (cdr parens))))" - (declare (type (function (list) string)) + (declare (type (function (list &optional t) string)) (pure t) (side-effect-free t)) (save-match-data ;; Recurse on the sorted list.